// This should only ever be run by a dedicated server (not written for listen servers)

"adminRequest" addPublicVariableEventHandler {
	private ["_clientID"];
	
	// Call the auth function
	adminResponse = adminRequest call SXP_fnc_authServer;
	
	// Send the response to the client
	adminResponse = [_playerUID, _player, _accepted, _error];
	_clientID = owner (adminResponse select 1);
	_clientID publicVariableClient "adminResponse";
	
	// Delete the variables we no longer need
	adminRequest = nil;
	adminResponse = nil;
};